<template>
  <div class="box">
    <div class="leftnav">
      <div class="leftIn">
        <router-link tag="p" to="/home/product">产品列表</router-link>
      </div>
    </div>
    <router-view />
  </div>
</template>

<script>
export default {
  components: {},
};
</script>

<style lang="less" scoped>
.box {
  display: flex;
}
.leftnav {
  width: 200px;
  height: 100vh;
  background-color: gray;
  .leftIn {
    width: 200px;
    height: 50px;
    line-height: 50px;
    background-color: #ccc;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
  }
}
</style>
